/**
 * Created by baowei on 2018/10/17.
 */
import Request from "../../../../../utils/request.js";
export default class {
  // 获取优惠券规格信息
  static getCouponsActivityInfo(params) {
    return Request({
      url: `app/coupons/config/${params}`,
      type: "GET",
      data: params
    })
  }
  // 获取优惠券详情
  static getCouponsDetail(params) {
    return Request({
      url: `app/coupons/info/${params}`,
      type: "GET",
      data: params,
      headers: {
        "Content-type": "application/json"
      },
    })
  }
}
